﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

[RequireComponent(typeof(Image))]
public class ImageSheetAnim : TextureSheetAnim {

    [SerializeField]
    Image m_Image;

    private void Awake()
    {
        m_Image = GetComponent<Image>();
    }


    protected override Material GetRenderingMaterial()
    {
        return m_Image.materialForRendering;
    }
    

}
